#include "stack.h"

void test1()
{
	Stack st;
	int size;
	initStack(&st);
	stackPush(&st, 1);
	stackPush(&st, 2);
	stackPush(&st, 3);
	stackPush(&st, 4);
	stackPush(&st, 5);
	stackPush(&st, 6);
	size = stackSize(&st);
	printf("%d\n", size);
	stackPop(&st);
	stackPop(&st);
	stackPop(&st);
	stackPop(&st);
	stackPop(&st);
	stackPop(&st);
	printStack(&st);
	size = stackSize(&st);
	printf("%d\n", size);
	stackPush(&st, 7);
	size = stackSize(&st);
	printf("%d\n", size);
	printf("%d\n", stackTop(&st));
	printStack(&st);
	printf("%d\n", stackEmpty(&st));
}


int main()
{
	test1();
	return 0;
}